<?php
/**
 * Created by PhpStorm.
 * User: Sunmer
 * Date: 2019/6/2 0002
 * Time: 2:09
 * Email:Sunmer@foxmail.com
 */
namespace app\api\controller;
use think\Db;
class About extends BaseController{
    public function about()
    {
        //查询数据
        $param = DB::table('tp_about')->find();
        if ($param)
        {
            return $this->ajax_return($param,'查询成功','200');
        }else{
            return $this->ajax_return('null','查询失败','201');
        }
    }
}